import _http from '@/utils/http'

export default {
    shopList(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/sys/shopAll',
            apiName: '商户列表',
        }, params, loading, headers)
    },
    messageSysRelease(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/sys/release',
            apiName: '发布消息-系统消息',
        }, params, loading, headers)
    },
    messageSearch(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/search/common',
            apiName: '消息查询-公共方法',
        }, params, loading, headers)
    },
    messageSysExpire(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/sys/expire',
            apiName: '批量过期',
        }, params, loading, headers)
    },
    messageSysDelete(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/sys/delete',
            apiName: '批量消息删除-我发布的系统消息',
        }, params, loading, headers)
    },
}
